package com.zyx.log4j2demo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author zyx
 * @since 2021/5/15 15:34
 * desc: log4j测试案例
 */
public class Log4j2Test {
    public static final Logger log = LoggerFactory.getLogger(Log4j2Test.class);

    public static void main(String[] args) {
        log.error("error");
        log.warn("warn");
        log.info("info");
        log.debug("debug");
        log.trace("trace");
    }
}
